<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
  <title>慢慢买</title>
  <script src="lib/flexible/flexible.js"></script>
  <link rel="icon" href="favicon.ico">
  <link rel="stylesheet" href="css/common.css">
  <link rel="stylesheet" href="css/index.css">
</head>
<body>
  <div class="container">
    <!--头部-->
    <div class="header">
      <h1 class="logo fl">
        <a href="index.html" >
          <img src="images/header_logo.png" alt="">
        </a>
      </h1>
      <div class="download fr">
        <a href="#">
          <img src="images/header_app.png" alt="">
        </a>
      </div>
    </div>
    <!--主体-->
    <div class="main">
      <div class="search">
        <input type="text"placeholder="请输入你想比价的商品"><button>搜索</button>
      </div>
      <div class="nav">
        <ul class="clearfix">
        
        </ul>
      </div>
      <!--折扣部分-->
      <div class="discount">
        <div class="title">
          超值折扣推荐
          <a href="moneyctrl.html"><img src="images/more.png" alt=""></a>
        </div>
        <div class="product">
        
        </div>
      </div>
      <!--获取更多-->
      <div class="get-more">
        <a href="moneyctrl.html">更多优惠信息>></a>
      </div>
      <!--更多品牌-->
      <div class="brand-rank">
          品牌排行
          <a href="moneyctrl.html"><img src="images/more.png" alt=""></a>
      </div>
    </div>
    <!--底部-->
    <div class="footer">
      <div class="footerNav clearfix">
        <a href="#">登录</a>
        <a href="#">注册</a>
        <a href="javascript:;" id="goTop"><img src="images/top.jpg" alt="">回到顶部</a>
        <!--javascript:toBack.goTop();-->
      </div>
      <div class="msg">
        <p>
          <a href="#" class="red">手机APP下载</a>
          <a href="#">慢慢买手机版</a>
          <a href="#">--掌上比价平台</a>
        </p>
        <p><a href="#">手机APP下载</a></p>
      </div>
    </div>
  </div>
  <!--导航模板-->
  <script type="text/html" id="navTpl">
    {{ each result v i }}
    <li class="{{ v.name === '更多' ? 'more' : '' }}">
      <a href="{{ v.titlehref }}">
        {{@ v.img }}
        <p> {{ v.name }}</p>
      </a>
    </li>
    {{ /each }}
  </script>
  
  <!--产品模板-->
  <script type="text/html" id="productTpl">
    {{ each result v i }}
    <div class="product-item">
      <a href="#">
        <div class="img-box fl">
          {{@ v.productImgSm }}
        </div>
        <div class="info">
          <div class="info-t">
            {{ v.productName }}
            <span>{{ v.productPinkage }}</span>
          </div>
          <div class="info-b clearfix">
            <span class="fl">{{ v.productFrom }}|{{ v.productTime }}</span>
            <span class="fr">
                   <i class="icon-comment"></i>
                   {{ v.productComCount }}
                 </span>
          </div>
        </div>
      </a>
    </div>
    {{ /each }}
  </script>
  <script src="lib/jquery/jquery-1.12.4.js"></script>
  <script src="lib/artTemplate/template-web.js"></script>
  <script src="js/common.js"></script>
  <script src="js/index.js"></script>
</body>
</html>